package com.dashu.device.tools.System;


import com.dashu.base.bean.device.System.EnvirBean;

import java.util.Properties;

public class Envir {


    public static EnvirBean getJava(){
        EnvirBean envirBean = new EnvirBean();

        Runtime r = Runtime.getRuntime();
        Properties props = System.getProperties();


        envirBean.setJavaVersion(props.getProperty("java.version"));
        envirBean.setJavaVendor(props.getProperty("java.vendor"));

        return envirBean;
    }

}
